package com.one.service.impl;

import com.one.dao.impl.userDaoImpl;
import com.one.pojo.User;
import com.one.service.userService;
import com.one.dao.userDao;

/**
 * @author LJ
 * @create 2022-04-24-15:31
 */
public class userServiceImpl implements userService {
    userDao userDao=new userDaoImpl();
    @Override
    public boolean userLogin(User user) {
        return userDao.userLogin(user);
    }

    @Override
    public int userRegister(User user) {
        return userDao.userRegister(user);
    }
}
